<template>
    <div>
        <h3>
            <slot :profile="user">{{ user.firstName }}</slot>
        </h3>
    </div>
</template>

<script>
export default {
    name: 'Comp3',
    data() {
        return {
            user: {
                firstName: 'Yang',
                lastName: 'Rui',
            },
        };
    },
};
</script>
